package com.example.qxfw.ybzz.service.impl;

import com.example.qxfw.common.entity.qx.YbzzForecastkeguandz;
import com.example.qxfw.ybzz.mapper.YbzzForecastkeguandzMapper;
import com.example.qxfw.ybzz.service.YbzzForecastkeguandzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class YbzzForecastkeguandzServiceImpl implements YbzzForecastkeguandzService {

    @Autowired
    private YbzzForecastkeguandzMapper ybzzForecastkeguandzMapper;

    @Override
    public Integer save(YbzzForecastkeguandz ybzzForecastkeguandz) {
        int rows = ybzzForecastkeguandzMapper.insert(ybzzForecastkeguandz);
        return rows;
    }

    @Override
    public Integer delete(String timespan, String param1, String param2, String forecastType) {
        int rows = ybzzForecastkeguandzMapper.delete(timespan, param1, param2, forecastType);
        return rows;
    }
}
